/*访问后台的代码*/
layui.define([], function(exports) {
    var api={
            update:function(form,callback){
                Lib.submitForm("/cms/quit/update.json",form,{},callback)
            },
            editandsave:function(form,callback){
                Lib.submitForm("/cms/quit/editandsave.json",form,{},callback)
            },
            addQuit:function(form,callback){
                Lib.submitForm("/cms/quit/add.json",form,{},callback)
            },
            savedeclaration: function (form, callback) {
                 Lib.submitForm("/cms/quit/savedeclaration.json", form, {}, callback)
             },
        Acceptancelisttermination: function (form, callback) {
            Lib.submitForm("/cms/quit/Acceptancelisttermination.json", form, {}, callback)
        },
        Acceptancelistterreturn: function (form, callback) {
            Lib.submitForm("/cms/quit/Acceptancelistterreturn.json", form, {}, callback)
        },
        Acceptancelistsuccess: function (form, callback) {
            Lib.submitForm("/cms/quit/Acceptancelistsuccess.json", form, {}, callback)
        },
            del:function(ids,callback){
                Common.post("/cms/quit/delete.json",{"ids":ids},function(){
                    callback();
                })
            }
		
    };
    exports('quitApi',api);
});